package com.aikon.wht.designPattern.decorator;

/**
 * Created by haitao.wang on 2016/12/8.
 */
public class ActionHumanDecorator implements HumanDecorator {

    Human human;

    public ActionHumanDecorator(Human human) {
        this.human = human;
    }

    @Override
    public String eat() {
        return human.eat() + "shit";
    }

    public String sit(){
        return "sit";
    }
}
